package cn.skyquant.quant4j.service.boot.model.strategy;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface StrategyTestRepository extends CrudRepository<StrategyTest, Integer> {

    Page<StrategyTest> findByStrategyName(String strategyName, Pageable pageable);
    Page<StrategyTest> findAll(Pageable pageable);
}
